<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8" isELIgnored="false"%>
<%@ include file="/WEB-INF/views/shared/taglib.jsp"%>
<%
	request.setAttribute("title", "奖金账单");
%>
<%@ include file="/WEB-INF/views/shared/master/weContentHeader.jsp"%>
<style>	
.overflow-hidden {
	overflow: hidden;
}
.nav-ul {
	position: relative;
	left: 50%;
	transform: translateX(-50%);
	float: left;
	font-size: 0.8rem;
	color: #999;
	padding: 0.5em 0em;
}
.nav-ul>* {
	position: relative;
	float: left;
	list-style: none;
	margin: 0.2rem 0.4rem;
}
.nav-arrow {
	vertical-align: middle;
	max-height: 0.5rem;
	padding-left: 0.2rem;
	transform: translateY(-0.05rem);
}
	.weui-cell__bd span{
	  font-size:12px;
	  color:#c4b2b2;
	}

	.weui-cell__ft p{
	  font-size:14px;
	  color:black;
	}
	
	 .weui-cells:before{
      border-top: none;
	} 

.weui-tabbar {
    position: fixed !important;
	}
 
	 .weui-cell:active{
	   background-color: rgba(180, 180, 180, 0.5);
    } 
</style>


<%@ include file="/WEB-INF/views/shared/master/weTitle.jsp"%>

	<c:forEach var="incomeDetail" items="${incomeDetails}">
			<a class="weui-cell" href="<c:url value='/wechat/acc/myWealth/income?id=${incomeDetail.id}' />">
				<div class="weui-cell__bd">
					<p><t:provider packageName="acc" enumClassName="IncomeState" value="${incomeDetail.incomeState}"/></p>
					<span style="font-size: 12px"> 
						<fmt:formatDate value="${incomeDetail.time}" pattern="yyyy-MM-dd hh:mm:ss"/>
					</span>
				</div>
				<div class="weui-cell__ft">
					<input type="hidden" class="state" value="${incomeDetail.state}" />
					<p style="font-size: 16px">
					<c:if test="${incomeDetail.state == 'income'}">
					    <span id="plusMinus" >
					    +<fmt:formatNumber value="${incomeDetail.incomeAccount}" pattern="#.##" minFractionDigits="2" > </fmt:formatNumber>	</span>
				    </c:if>
				    <c:if test="${incomeDetail.state == 'pay'}"> 
					    <span id="plusMinus" >
					    -<fmt:formatNumber value="${incomeDetail.incomeAccount}" pattern="#.##" minFractionDigits="2" > </fmt:formatNumber>	</span>
				    </c:if>
						
					</p>
				</div>
			</a>
		</c:forEach>



<%@ include file="/WEB-INF/views/shared/scripts/jquery.jsp"%>
<%@ include file="/WEB-INF/views/shared/scripts/jqweui.jsp"%>


<%@ include file="/WEB-INF/views/shared/master/weContentFooter.jsp"%>